package main

import "fmt"

func func1() string {
	fmt.Println("hello")
	return "done"
}

func main() {
	message := make(chan string)

	go func() {
		message <- "pisfsfsdfssfdfsfsfdsng"
	}()

	go func1()

	msg := <-message
	fmt.Println(msg)
}
